package com.hospital.workstation.service;

import com.hospital.workstation.domain.TraditionalDiagnosis;
import com.hospital.workstation.domain.vo.TraditionalDiagnosisVo;
import com.hospital.workstation.domain.bo.TraditionalDiagnosisBo;
import com.hospital.common.core.page.TableDataInfo;
import com.hospital.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 中医入院诊断Service接口
 *
 * @author whb
 * @date 2023-02-13
 */
public interface ITraditionalDiagnosisService {

    /**
     * 查询中医入院诊断
     */
    TraditionalDiagnosisVo queryById(Long id);

    /**
     * 查询中医入院诊断列表
     */
    TableDataInfo<TraditionalDiagnosisVo> queryPageList(TraditionalDiagnosisBo bo, PageQuery pageQuery);

    /**
     * 查询中医入院诊断列表
     */
    List<TraditionalDiagnosisVo> queryList(TraditionalDiagnosisBo bo);

    /**
     * 新增中医入院诊断
     */
    Boolean insertByBo(TraditionalDiagnosisBo bo);

    /**
     * 修改中医入院诊断
     */
    Boolean updateByBo(TraditionalDiagnosisBo bo);

    /**
     * 校验并批量删除中医入院诊断信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
